<%@ page language="java" pageEncoding="utf-8"%>
<%@ include file="../includes/importer.jsp"%>
<!doctype html>
<html>
<head>
    <head>
    <ht:head/>



<script type="text/javascript">
$().ready(function() {
  var url = document.referrer;
	$("#backUrl").val(url);
    	selectRegionCallBack("#areaName",function(regionCode,areaName){
  
    	$("#regionCode").val(regionCode);
    	$("#areaName").val(areaName);
    	$("#areaName").focus();
    		$("#areaName").blur();
     },0,{index:2});
     
     })
</script>

<script type="text/javascript">

</script>
    </head>
<body>
<div id="content">
<!-- forms -->
<div class="box">
    <!-- box / title -->
    <div class="title">
        <h5>添加修改</h5>
    </div>
    <!-- end box / title -->
    <form:form method="post" id="fm" commandName="memberGroup" htmlEscape="true" acceptCharset="utf-8" cssClass="required-validate"  enctype="multipart/form-data" >
        <div class="form">
  <div class="fields">
  
   <div class="fields">
       	<input type="hidden" id="backUrl" name="backUrl" />
		      <div class="field">
                    <div class="label noinput">编号：</div>
                    <div class="input">${memberGroup.groupId }</div>
                </div>
  
                        <div class="field">
                    <div class="label">
                        <label for="resTitle" class="req">群组名称：</label>
                    </div>
                    <div class="input"><!-- small medium large -->
                        <form:input path="groupName"  maxlength="50"      cssClass="small required"/>
                         <span class="error" id="advice-required-groupName" style="display:none"></span>
                    </div>
                </div>


				<div class="field">
							<div class="label">
								<label for="isHot" class="req">群组优惠：</label>
							</div>
							<div class="radios">
								<div class="radio">
									<input type="radio" id="isHot0" name="status" value="1"
										checked="checked" /><label for="status">启用</label> <input
										type="radio" id="isHot1" name="status" value="0" /><label
										for="status">禁用</label>
								</div>
								<span class="error" id="advice-validate-one-required-radioex1"
									style="display: none"></span>
							</div>
						</div>


                     <div class="field">
                    <div class="label label-textarea">
                        <label for="brief">群组描述：</label>
                    </div>
                    <div class="input">
                        <form:textarea path="groupDesc" cols="50" rows="8" cssClass="max-length-500"/>
                        <span class="error" id="advice-validate-one-required-groupDesc" style="display:none"></span>
                    </div>
                </div>  
           
                <div class="buttons">
                    <div class="highlight">
                        <input type="submit" name="submit.highlight" class="common_btn" value="提交"  />
                    </div>
                <input type="reset" name="reset" value="重置" />
                       <input type="button" class="common_btn" onClick="history.back();" value="返回" />
                </div>
            </div>
        </div>
    </form:form>
</div>
</div>
</body>
</html>